<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>用户登录</title>
</head>
<style>
  *{
    margin: 0;
    padding: 0;
  }
  #box{
    width: 2300px;
    height:878px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    background-color: #9d7474;
    box-sizing: border-box;
    background-image: url("static/背景1.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
  }
  .loginBox{
    display: inline-block;
    width: 350px;
    border: 1px solid white;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 20px;
    background-color: rgba(33, 34, 35, 0.17);
  }
  #inp{
    width: 220px;
    height: 26px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: rgba(176, 174, 171, 0.33);
    border: 1px solid white;
    padding: 0px 6px;
  }
</style>
<body>
<div id="box">
  <div class="loginBox">
    <h2 style="color: white;line-height: 60px">用户登录</h2>
    <form action="userLogin?action=login" method="post">
      <table>
        <tr>
          <td style="color: white;line-height: 30px;font-size: 20px">用户名：</td>
          <td><input id="inp" type="text" name="userName"></td>
        </tr>
        <tr>
          <td style="color: white;line-height: 30px;font-size: 20px">密&nbsp;&nbsp;&nbsp;码：</td>
          <td><input id="inp" type="password" name="password"></td>
        </tr>
      </table>
      <input style="width: 100px;font-size:22px;margin-top: 5px;padding: 3px 6px;background-color: #bd2877;color: white;border-radius: 5px" type="submit" value="登录">
      <input style="width: 100px;font-size:22px;margin-top: 5px;padding: 3px 6px;background-color: #5995b4;color: white;border-radius: 5px" type="reset" value="重置">
    </form>
    <div style="display:flex;justify-content: space-between">
      <a href="./register.jsp" style="font-size: 18px;color: white;text-decoration: none;margin-left: 120px;margin-top: 20px">新用户？来注册一下吧</a>
    </div>
  </div>
</div>
</body>
</html>
